package com.example.exception;

/**
 * @author Jonathan
 * 2021/4/24 12:06
 */
public class BaseException extends RuntimeException {

    private ExceptionEnum exceptionEnum;


    public BaseException(ExceptionEnum exceptionEnum) {
        this.exceptionEnum = exceptionEnum;
    }

    public ExceptionEnum getExceptionEnum() {
        return exceptionEnum;
    }
}
